package com.bianxianmao.duobao.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/7/31.
 */
//剩余（升序排列）
public class SurplusAscBean {

    /**
     * returnValue : [{"productId":63,"periodsId":145638,"productName":"手机话费500元 移动/联通/电信可用","productClassId":12,"productType":"2","dbTotalCount":600,"image1":"http://file.migree.com.cn/qmdb/goods/201611161914051171.jpg","dbSurplusCount":22,"periodsNumber":76492,"state":"1","winReturnAmount":0},{"productId":196,"periodsId":145618,"productName":"华为荣耀8 青春版 3 +32G全网通 随机颜色","productClassId":12,"productType":"5","dbTotalCount":500,"image1":"http://file.migree.com.cn/2017/04/11/459fc99a-5b0b-411a-b92e-0bdc9950433d","dbSurplusCount":29,"periodsNumber":76472,"state":"1","winReturnAmount":0},{"productId":195,"periodsId":145593,"productName":"美图T8 4G+128GB 自拍美颜手机 随机颜色","productClassId":12,"productType":"2","dbTotalCount":4900,"image1":"http://file.migree.com.cn/2017/04/10/96a327eb-7f9e-40fb-9382-d425702c4e67","dbSurplusCount":30,"periodsNumber":76447,"state":"1","winReturnAmount":0},{"productId":151,"periodsId":137131,"productName":"Xiaomi/小米入耳式有线线控圈铁耳机 还原音乐细节 颜色随机发货","productClassId":14,"productType":"2","activityType":"3","dbTotalCount":218,"image1":"http://file.migree.com.cn/qmdb/goods/201701021947112380.jpg","dbSurplusCount":35,"periodsNumber":67985,"state":"1","winReturnAmount":0},{"productId":128,"periodsId":144203,"productName":"星爸爸同款不锈钢保温杯 送你冬日你的温暖","productClassId":15,"productType":"2","activityType":"3","dbTotalCount":50,"image1":"http://file.migree.com.cn/qmdb/goods/201612141054126519.jpg","dbSurplusCount":36,"periodsNumber":75057,"state":"1","winReturnAmount":0},{"productId":252,"periodsId":144117,"productName":"正宗凉茶 王老吉 310ml*12罐","productClassId":18,"productType":"2","dbTotalCount":48,"image1":"http://file.migree.com.cn/2017/07/05/721853f8-a97b-4290-a5f9-167d3d2b9d65","dbSurplusCount":48,"periodsNumber":74971,"state":"1","winReturnAmount":0}]
     * successed : true
     */

    private boolean successed;
    private List<ReturnValueBean> returnValue;

    public boolean isSuccessed() {
        return successed;
    }

    public void setSuccessed(boolean successed) {
        this.successed = successed;
    }

    public List<ReturnValueBean> getReturnValue() {
        return returnValue;
    }

    public void setReturnValue(List<ReturnValueBean> returnValue) {
        this.returnValue = returnValue;
    }

    public static class ReturnValueBean {
        /**
         * productId : 63
         * periodsId : 145638
         * productName : 手机话费500元 移动/联通/电信可用
         * productClassId : 12
         * productType : 2
         * dbTotalCount : 600
         * image1 : http://file.migree.com.cn/qmdb/goods/201611161914051171.jpg
         * dbSurplusCount : 22
         * periodsNumber : 76492
         * state : 1
         * winReturnAmount : 0
         * activityType : 3
         */

        private int productId;
        private int periodsId;
        private String productName;
        private int productClassId;
        private String productType;
        private int dbTotalCount;
        private String image1;
        private int dbSurplusCount;
        private int periodsNumber;
        private String state;
        private int winReturnAmount;
        private String activityType;

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public int getPeriodsId() {
            return periodsId;
        }

        public void setPeriodsId(int periodsId) {
            this.periodsId = periodsId;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public int getProductClassId() {
            return productClassId;
        }

        public void setProductClassId(int productClassId) {
            this.productClassId = productClassId;
        }

        public String getProductType() {
            return productType;
        }

        public void setProductType(String productType) {
            this.productType = productType;
        }

        public int getDbTotalCount() {
            return dbTotalCount;
        }

        public void setDbTotalCount(int dbTotalCount) {
            this.dbTotalCount = dbTotalCount;
        }

        public String getImage1() {
            return image1;
        }

        public void setImage1(String image1) {
            this.image1 = image1;
        }

        public int getDbSurplusCount() {
            return dbSurplusCount;
        }

        public void setDbSurplusCount(int dbSurplusCount) {
            this.dbSurplusCount = dbSurplusCount;
        }

        public int getPeriodsNumber() {
            return periodsNumber;
        }

        public void setPeriodsNumber(int periodsNumber) {
            this.periodsNumber = periodsNumber;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public int getWinReturnAmount() {
            return winReturnAmount;
        }

        public void setWinReturnAmount(int winReturnAmount) {
            this.winReturnAmount = winReturnAmount;
        }

        public String getActivityType() {
            return activityType;
        }

        public void setActivityType(String activityType) {
            this.activityType = activityType;
        }
    }
}
